

/**
 * Brick Exception handles the exception that the input length,
 * width or height is invalid.
 * @author Sophia Soohoo
 *
 */
public class BrickException extends Exception {

    /***/
    private static final long serialVersionUID = 1L;
    /** message description of error */
    private String message;
    
    public BrickException(String label) {
        message = label;
    }

    /**
     * @return the message
     */
    public String getMessage() {
        return message;
    }    
}
